Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 2 - 3D Viewer / 3D Viewer Reference
3D Viewer Routines / Creating and Configuring Viewers


Q3ViewerUseFile

You can use the Q3ViewerUseFile function to set the file containing the 3D model to be displayed in a viewer object.

OSErr Q3ViewerUseFile (TQ3ViewerObject theViewer, long refNum);
theViewer
A viewer object.
refnum
The file reference number of an open file.
DESCRIPTION
The Q3ViewerUseFile function sets the 3D data file to be displayed in the viewer object specified by the theViewer parameter to the open file having the file reference number specified by the refnum parameter.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996